home *** CD-ROM | disk | FTP | other *** search
/ Especial Multimedia / Especial Multimedia.iso / Multimed / Herra / RW12DEMO.ZIP / SCRIPTS / WALLCAB.RWX < prev    next >
Text File  |  1993-11-04  |  2KB  |  73 lines

  1. ModelBegin
  2.  
  3.   ProtoBegin CabDoublePrim
  4.   # x=2, y=1.5, z=1
  5.       LightSampling Facet
  6.       GeometrySampling Solid
  7.  
  8.       Surface 0.4 0.6 0.0
  9.       Color 0.7 0.5 0
  10.       TransformBegin
  11.         Translate 0 -0.7 0
  12.         Block 2.0 0.1 1.0  # base
  13.       TransformEnd
  14.       TransformBegin
  15.         Translate 0 0.7 0
  16.         Block 2 0.1 1.0
  17.       TransformEnd
  18.       Surface 0.7 1 1
  19.       Color 1 1 1 
  20.       TransformBegin
  21.         Translate -0.99 0 0
  22.         Block 0.02 1.3 1.0 # left side
  23.       TransformEnd
  24.       TransformBegin
  25.         Translate 0.99 0 0
  26.         Block 0.02 1.3 1.0 # right side
  27.       TransformEnd
  28.       TransformBegin
  29.         Translate 0 0 -0.49
  30.         Block 1.96 1.3 0.02 # back
  31.       TransformEnd
  32.   ProtoEnd
  33.  
  34.   ProtoBegin CabDouble
  35.     # x=2.0 y=1.5 z=1.0
  36.     TransformBegin
  37.       ProtoInstance CabDoublePrim
  38.     TransformEnd
  39.     Surface 0.4 0.5 0.6
  40.     Translate -1.02 0 0.52
  41.     ClumpBegin               # left door
  42.       Tag 2                  # Tag 2 says this object is manipulatable.
  43.       TransformBegin
  44.         Color 0.6 0.6 0.0
  45.         Rotate 0 1 0 -20
  46.         Translate 0.5 0 0
  47.         Block 1.0 1.3 0.02
  48.         Color 0 0 1
  49.         Translate 0.2 0.5 0.035
  50.         Block 0.1 0.05 0.05
  51.       TransformEnd
  52.     ClumpEnd
  53.     Translate 2.02 0 0
  54.     ClumpBegin               # right door
  55.       Tag 2                  # Tag 2 says this object is manipulatable.
  56.       TransformBegin
  57.         Color 0.6 0.6 0.0
  58.         Rotate 0 1 0 20
  59.         Translate -0.5 0 0
  60.         Block 1.0 1.3 0.02
  61.         Color 0 0 1
  62.         Translate -0.2 0.5 0.035
  63.         Block 0.1 0.05 0.05
  64.       TransformEnd
  65.     ClumpEnd
  66.   ProtoEnd
  67.  
  68.   ClumpBegin
  69.     ProtoInstance CabDouble
  70.   ClumpEnd
  71.   
  72. ModelEnd
  73.